Skip to content

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Nov 11, 2023

Description

Recreation of upstream PR squizlabs/PHP_CodeSniffer#3913:

These arguments should be stored in the unknown property. There is no values property.

Note: the read/write logic is to prevent a Indirect modification of overloaded property PHP_CodeSniffer\Config::$unknown has no effect PHP notice.

Suggested changelog entry

N/A (I don't think this bug had any impact on end-users)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

These arguments should be stored in the `unknown` property. There is no `values` property.

Note: the read/write logic is to prevent a `Indirect modification of overloaded property PHP_CodeSniffer\Config::$unknown has no effect` PHP notice.
@jrfnl jrfnl force-pushed the feature/config-bugfix branch from abd4bfc to b23ed18 Compare December 5, 2023 13:46
@jrfnl jrfnl merged commit 9fecccc into master Dec 5, 2023
@jrfnl jrfnl deleted the feature/config-bugfix branch December 5, 2023 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant